<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{main::head}">
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form class="container-fluid form-student-info" action="/change-pwd" method="post">
    <script th:if="${string}" th:inline="javascript">
        window.alert([[${string}]])
    </script>
    <div class="row justify-content-center">
        <label class="col-2 col-form-label" >原密码</label>
        <input id="inputPwd0" type="password" class="col-7" th:name="old" />
    </div>
    <div class="row justify-content-center">
        <label class="col-2 col-form-label" >新密码：</label>
        <input id="inputPwd01" type="password" class="col-7" th:name="new"/>
    </div>
    <div class="row justify-content-center">
        <label class="col-2 col-form-label" >确认新密码:</label>
        <input id="inputPwd02" type="password" class="col-7" th:name="cfm"/>
    </div>
    <div class="row justify-content-center">
        <div class="col-5"></div>
        <input type="submit" class="btn btn-primary col-auto" value="提交"/>
    </div>
</form>

</body>
</html>